import { request } from '../request.js'

// 项目各类接口
const INDEX = {
  // 资产面积 POST /data/getAssetarea
  getAssetarea: param => request('data/getAssetarea', param),
  // 出租率 POST /data/getLeasedRate
  getLeasedRate: param => request('data/getLeasedRate', param),
  // 租赁收费汇总 POST /data/rentalCharges
  rentalCharges: param => request('data/rentalCharges', param),
  // 维修金额支出汇总 POST /data/repairAmount
  repairAmount: param => request('data/repairAmount', param),
  // 当前资产出租面积 POST /data/getAssetsNum
  getAssetsNum: param => request('data/getAssetsNum', param),
  // 获取维修次数和金额 POST /data/getrepair
  getrepair: param => request('data/getrepair', param),
  // 获取房产面积 POST /data/getArea
  getArea: param => request('data/getArea', param)
}

export default INDEX
